*** This is my practice website to learn and practice HTML, using Microsoft Step By Step book, by Faithe Wempen. ***
<hr style="color: red; background-color: red; height: 3px">
<style>
hr {color: red; background-color: red; height: 3px}
</style>
Save in a text file with a .css extension (commonly default.css) and called in the <head> section
.css file content: hr {color: red; background-color: red; height: 3px}
<head> section: <link rel="stylesheet" type="text/css" href="default.css" />
h1 h2 h3 {color: red}
ul ul {list-style-type: circle} (2nd bulleted list level would be circle)
Add an argument in the opening tag: <li class="new">Kelly's New Home</li>
Add the class's style in the style area, preceding its name by a period: .new {color: green}
Add an argument in the opening tag: <li id="new">Kelly's New Home</li>
Add the class's style in the style area, preceding its name by a hash symbol: #new {color: green}